package org.hp.dao.dictionary;

import org.apache.ibatis.annotations.Param;
import org.hp.bean.Case;

import java.util.List;
import java.util.Map;

public interface CaseDao {
    //查询list
    public List<Case> queryGene(@Param("cname") String cname);
    public List<Case> queryGeneResult(@Param("cname") String cname);
    public List<Case> queryCheck(@Param("cname") String cname);
    //查询伪删除的list
    public List<Map> queryDelGene();
    public List<Map> queryDelGeneResult();
    public List<Map> queryDelCheck();
    //添加
    public int addGene(Case c);
    public int addGeneResult(Case c);
    public int addCheck(Case c);
    //伪删除
    public int delGene(Integer cid);
    public int delGeneResult(Integer cid);
    public int delCheck(Integer cid);
    //恢复
    public int returnGene(Integer cid);
    public int returnGeneResult(Integer cid);
    public int returnCheck(Integer cid);
    //查询byID
    Case queryOneGene(Integer cid);
    Case queryOneGeneResult(Integer cid);
    Case queryOneCheck(Integer cid);
    //修改
    public int updateGene(Case c);
//    public int updateGeneResult(Case c);
//    public int updateCheck(Case c);


}
